package cn.kgc.service;

import cn.kgc.dto.Dto;
import cn.kgc.dto.DtoUtil;
import cn.kgc.vo.*;

import java.util.List;

public interface ItemService {
    //根据商品id返回商品详情页
    Dto<QueryItemDetailVo> queryItemDetail(Integer id) throws Exception;

    //根据商品ID查询商品排期
    Dto<ItemSchedulerVo> queryItemScheduler(Integer itemId) throws Exception;

    //根据商品排期查询商品价格
    Dto<List<ItemPriceVo>> queryItemPrice(Integer schedulerId) throws Exception;

    //根据商品id查询剧评
    Dto<List<ItemPriceByCommentVo>> queryItemComment(Integer id) throws Exception;

    //添加剧评
    Dto<DtoUtil> commitItemComment(ItemAddCommetVo itemAddCommentVo) throws Exception;

    //商品详情推荐接口
    List<List<ItemRecommendVo>> queryItemRecommend(Integer itemTypeId, Integer limit) throws Exception;


}
